package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-11-04 10:11
*/
 

@Data
@TableName(value = "t_member_vip")
@Accessors(chain = true)
public class TMemberVip {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 会员id
     */
    @TableField(value = "m_id")
    private Long mId;

    /**
     * vip id
     */
    @TableField(value = "v_id")
    private Long vId;

    /**
     * 开始时间
     */
    @TableField(value = "begin_time")
    private LocalDateTime beginTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private LocalDateTime endTime;

    @TableField(value = "add_time")
    private LocalDateTime addTime;

    /**
     * 目前作为锁作用
     */
    @TableField(value = "unique_lock")
    private String uniqueLock;
}